package server.domain;

import java.util.Date;

public class SubArchive {
    private Integer id;

    private String mnemonicCode;

    private String mothballed;

    private String operatingCompany;

    private Date operatingTime;

    private String operator;

    private String remark;

    private String subArchiveName;

    private Integer archiveId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMnemonicCode() {
        return mnemonicCode;
    }

    public void setMnemonicCode(String mnemonicCode) {
        this.mnemonicCode = mnemonicCode;
    }

    public String getMothballed() {
        return mothballed;
    }

    public void setMothballed(String mothballed) {
        this.mothballed = mothballed;
    }

    public String getOperatingCompany() {
        return operatingCompany;
    }

    public void setOperatingCompany(String operatingCompany) {
        this.operatingCompany = operatingCompany;
    }

    public Date getOperatingTime() {
        return operatingTime;
    }

    public void setOperatingTime(Date operatingTime) {
        this.operatingTime = operatingTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSubArchiveName() {
        return subArchiveName;
    }

    public void setSubArchiveName(String subArchiveName) {
        this.subArchiveName = subArchiveName;
    }

    public Integer getArchiveId() {
        return archiveId;
    }

    public void setArchiveId(Integer archiveId) {
        this.archiveId = archiveId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", mnemonicCode=").append(mnemonicCode);
        sb.append(", mothballed=").append(mothballed);
        sb.append(", operatingCompany=").append(operatingCompany);
        sb.append(", operatingTime=").append(operatingTime);
        sb.append(", operator=").append(operator);
        sb.append(", remark=").append(remark);
        sb.append(", subArchiveName=").append(subArchiveName);
        sb.append(", archiveId=").append(archiveId);
        sb.append("]");
        return sb.toString();
    }
}